/// @description 消除一行方块
// @argument0 纵坐标
var yy = argument[0];
var clear = true;

//判断消除
var xx = 16;
while(true)
{
	if(!collision_point(xx, yy, oBox, false, false))
	{
		clear = false;
	}
	xx+=32;
	if(xx>room_width)
		break;
}

//清除
if(clear)
{
	xx = 16;
	while(true)
	{
		var coli = collision_point(xx, yy, oBox, false, false);
		instance_destroy(coli);
		xx+=32;
		if(xx>room_width)
			break;
	}
	
	//下落
	with(oBox)
	{
		if(x>0&&x<room_width&&y<yy)
		{
			y+=32;
		}
	}
}


